package cn.edu.scau.cmi.chenjia.client;

import cn.edu.scau.cmi.chenjia.clientFxml.HibernateDaoUIController;
import cn.edu.scau.cmi.chenjia.interProgramming.*;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

public class InterProgrammingClient extends Application{
	@Override
	public void start(Stage primaryStage) {
		try {
			FXMLLoader loader=new FXMLLoader();
			loader.setLocation(HibernateDaoUIController.class.getResource("InterProgrammingUI.fxml"));
			AnchorPane homeview =  (AnchorPane) loader.load();
			Scene scene=new Scene(homeview);
			primaryStage.setScene(scene);
			primaryStage.setResizable(false);
			primaryStage.setTitle("第一次实验");
			primaryStage.show();
			}catch(Exception e) {
	            e.printStackTrace();
	        }
	}

	public static void main(String[] args) {
		launch(args);
	}
}
